package com.cal.utms.dao.maintenance;

import java.util.List;

import com.cal.utms.entity.CreditRating;
import com.cal.utms.entity.Issuer;
import com.cal.utms.entity.IssuerBankAccount;
import com.cal.utms.entity.IssuerContactPerson;
import com.cal.utms.entity.IssuerType;

public interface IssuerDao {

	public List<IssuerType> getAllIssuerType();

	public List<CreditRating> getAllCreditRating();

	public List<Issuer> getAllIssuers();

	public Object saveIssuer(Issuer issuer);

	public Issuer getIssuerByIssuerCode(String issuerCode);

	public List<IssuerBankAccount> getBankAccountByIssuer(int issuer_id);

	public List<IssuerContactPerson> getContactsByIssuer(int issuer_id);

	public Object updateIssuer(Issuer issuer, List<IssuerBankAccount> accountDtos);

	public IssuerBankAccount getAccountById(int bankAccount);

	public List<Issuer> getUnmappedIssuers();
}
